package cn.aticow.springboot.service;

import cn.aticow.springboot.mapper.PageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PageService {

    @Autowired
    PageMapper pageMapper;

    String findPageNum(){
        return pageMapper.findPageNum();
    }

    int updatePageNum(String page){
        return pageMapper.updatePageNum(page);
    }
}
